import Vue from 'vue'

/**
 * 列表字段渲染
 */
const path = require('path')
const files  = require.context('@/views/modules/form/core/renderViews', false, /\.vue$/);

files.keys().forEach(key => {
    const name = path.basename(key, '.vue')
    const mode = files(key).default || files(key)
    Vue.component(name,mode)
})